#include"php.h"

/*typedef struct Heap
{
	HPDataType* a;
	int size;
	int capacity;
}Hp;*/

int main()
{
	Hp php;
	HeapInit(&php);
	HeapPush(&php, 1);
	HeapPush(&php, 4);
	HeapPush(&php, 24);
	HeapPush(&php, 34);
	HeapPush(&php, 422);
	HeapPush(&php, 134);
	HeapPush(&php, 32);
	HeapPush(&php, 7);
	HeapPush(&php, 33);
	HeapPush(&php, 2);
	int ret = HeapSize(&php);
	HPDataType jide1 = HeapTop(&php);
	HeapPop(&php);
	HPDataType jide2 = HeapTop(&php);
	HeapPop(&php);
	HPDataType jide3 = HeapTop(&php);
	HeapPop(&php);
	HPDataType jide4 = HeapTop(&php);
	HeapPop(&php);
	HeapPop(&php);
	HeapPop(&php);
	HeapPop(&php);
	HeapPop(&php);
	HeapPop(&php);
	HeapPop(&php);
	int rey = HeapSize(&php);
	HeapDestory(&php);
	return 0;
}